import { $t } from "@/plugins/i18n";

export default {
  path: "/system",
  redirect: "/system/userManage",
  meta: {
    icon: "eos-icons:rotating-gear",
    showLink: false,
    title: $t("menus.systemManage"),
    rank: 10
  },
  children: [
    {
      path: "/system/userManage",
      name: "UserManage",
      component: () => import("@/views/user/user/index.vue"),
      meta: {
        title: $t("menus.userManage")
      }
    }
    // {
    //   path: "/system/roleManage",
    //   name: "RoleManage",
    //   component: () => import("@/views/user/role/index.vue"),
    //   meta: {
    //     title: $t("menus.roleManage")
    //   }
    // },
    // {
    //   path: "/system/departmentManage",
    //   name: "DepartmentManage",
    //   component: () => import("@/views/user/department/index.vue"),
    //   meta: {
    //     title: $t("menus.departmentManage")
    //   }
    // }
  ]
} satisfies RouteConfigsTable;
